package com.sayimo.maker.base.dao;

import java.util.List;

import com.sayimo.framework.exception.DaoException;
import com.sayimo.maker.base.vo.BasePhoto;


/**
 * @Project: sayimo
 * @ClassName: BasePhotoDao
 * @Description: 图片
 * @Author: chenpy
 * @Date: 2015年10月12日
 * @Version 1.0
 */
public interface BasePhotoInterfaceDao{
	
	
	/** 
	* @Title: insertBasePhoto 
	* @Description: 添加基础图片
	* @param basePhoto
	* @return
	* @throws DaoException
	* @return Integer
	* @throws 
	*/ 
	public  Integer  insertBasePhoto(BasePhoto  basePhoto)throws  DaoException;
	
	
	/** 
	* @Title: selectAllById 
	* @Description: 查询在ID里的 所有数据
	* @param ids
	* @return
	* @throws DaoException
	* @return BasePhoto
	* @throws 
	*/ 
	public   List<BasePhoto>   selectAllById(String  ids) throws DaoException;
	
	/** 
	* @Title: selectBasePhotoId 
	* @Description: 根据图片ID查询图片
	* @param id
	* @return
	* @throws DaoException
	* @return BasePhoto
	* @throws 
	*/
	public BasePhoto selectBasePhotoId(Integer id) throws DaoException ;
	/** 
	* @Title: selectAllGoodsPhotoById 
	* @Description: 查询在ID里的 所有数据
	* @param ids
	* @return
	* @throws DaoException
	* @return BasePhoto
	* @throws 
	*/ 
	public   List<BasePhoto>   selectAllGoodsPhotoById(String  ids) throws DaoException;
}
